<?php
namespace App\Common;
/**
 * 系统导入表头配置常量
 *
 * @author WangBin
 * @date 2021-10-12
 */
class ImportTemplateConfig
{
    // excel 导入场景 - 员工卡
    const EXCEL_IMPORT_CARD = 'IMPORT_CARD';
    // excel 导入场景 - 企业白名单
    const EXCEL_IMPORT_WHITE_LIST = 'IMPORT_WHITE_LIST';
    // excel 导入场景 - 权益发放
    const EXCEL_IMPORT_WELFARE = 'IMPORT_WELFARE';
    // excel 导入场景 - 权益即时发放
    const EXCEL_IMPORT_WELFARE_INT = 'IMPORT_WELFARE_INT';
    // excel 导入场景 - 批量创建员工账户
    const EXCEL_IMPORT_ENTERSTAFF = 'IMPORT_ENTERSTAFF';   
    // excel 导入场景 - 批量创建员工账户
    const EXCEL_IMPORT_ENTERQUOTAALLOCATION = 'IMPORT_ENTERQUOTAALLOCATION';
	 // excel 导入场景 - 企业员工账户额度回收
    const EXCEL_IMPORT_ENTERSTAFF_WITHDRAW_AMOUNT = 'IMPORT_ENTERSTAFF_WITHDRAW_AMOUNT';
    // excel 导入场景列表
    const EXCEL_IMPORT_SCENE_LIST = [
        self::EXCEL_IMPORT_CARD => '福利卡导入',
        self::EXCEL_IMPORT_WHITE_LIST => '企业白名单导入',
        self::EXCEL_IMPORT_WELFARE => '企业权益发放',
        self::EXCEL_IMPORT_WELFARE_INT => '企业权益即时发放',
        self::EXCEL_IMPORT_ENTERSTAFF =>'批量创建员工账户',
        self::EXCEL_IMPORT_ENTERSTAFF =>'批量创建员工账户',       
        self::EXCEL_IMPORT_ENTERSTAFF_WITHDRAW_AMOUNT =>'企业员工账户额度回收',
        self::EXCEL_IMPORT_ENTERQUOTAALLOCATION=>'企业授信账户额度发放',
    ];

    // excel 导入表头 map
    const EXCEL_IMPORT_HEADER = [
        self::EXCEL_IMPORT_CARD => ExportTemplateConfig::EXCEL_EXPORT_CARD_TPL_HEADER,
        self::EXCEL_IMPORT_WHITE_LIST => ExportTemplateConfig::EXCEL_EXPORT_WHITE_LIST_TPL_HEADER,
        self::EXCEL_IMPORT_WELFARE => ExportTemplateConfig::EXCEL_EXPORT_WELFARE_TPL_HEADER,
        self::EXCEL_IMPORT_WELFARE_INT => ExportTemplateConfig::EXCEL_EXPORT_WELFARE_INSTANT_HEADER,
        self::EXCEL_IMPORT_ENTERSTAFF=>ExportTemplateConfig::EXCEL_EXPORT_ENTERSTAFF_HEADER,
        self::EXCEL_IMPORT_ENTERSTAFF_WITHDRAW_AMOUNT=>ExportTemplateConfig::EXCEL_EXPORT_WITHDRAW_AMOUNT_TPL_HEADER,       
        self::EXCEL_IMPORT_ENTERQUOTAALLOCATION=>ExportTemplateConfig::EXCEL_EXPORT_ENTERQUOTAALLOCATION_HEADER,
    ];
}
